package com.yixun.qfbao.apidto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
@ApiModel
public class EstateAdviserDto implements Serializable{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="置业顾问Id")
	private Long id;

	@ApiModelProperty(value="置业顾问Uuid")
	private String adviserUuid;

	@ApiModelProperty(value="置业顾问渠道用户Id")
	private Long partnerId;

	@ApiModelProperty(value="置业顾问所在楼盘",required=true)
	private Long premisesId;

	@NotBlank(message="置业顾问名称不能为空")
	@ApiModelProperty(value="置业顾问名称",required=true)
	private String name;
	
	
	@ApiModelProperty(value="置业顾问手机",required=true)
    private String phone;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAdviserUuid() {
		return adviserUuid;
	}

	public void setAdviserUuid(String adviserUuid) {
		this.adviserUuid = adviserUuid;
	}

	public Long getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(Long partnerId) {
		this.partnerId = partnerId;
	}

	public Long getPremisesId() {
		return premisesId;
	}

	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
    
}
